package br.com.werp.suporte.Hardware;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 21/12/2006 11:33:25
 * Last Modify Date 21/12/2006 12:07:39
 */

public class PesquisarProcessadorActionForm extends org.apache.struts.action.ActionForm {
  public String proc_id;
  public String proc_nome;
  public String processadores;
  private boolean valida = false;
  public PesquisarProcessadorActionForm() {
  }
  /**
    * PROC_ID: Gets the value of this field.
    */
  public String getProc_id() {
    return proc_id;
  }
  /**
     * PROC_ID: Sets thhe value for this field.
     */
  public void setProc_id(String PROC_ID) {
    proc_id = PROC_ID;
  }
  /**
    * PROC_NOME: Gets the value of this field.
    */
  public String getProc_nome() {
    return proc_nome;
  }
  /**
     * PROC_NOME: Sets thhe value for this field.
     */
  public void setProc_nome(String PROC_NOME) {
    proc_nome = PROC_NOME;
  }
  /**
    * PROCESSADORES: Gets the value of this field.
    */
  public String getProcessadores() {
    return processadores;
  }
  /**
     * PROCESSADORES: Sets thhe value for this field.
     */
  public void setProcessadores(String PROCESSADORES) {
    processadores = PROCESSADORES;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    proc_id = null;
    proc_nome = null;
    processadores = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
